package request

type AddClass struct {
	Name    string  `form:"name" xml:"name" json:"name" binding:"required"`
	Address string  `form:"address" xml:"address" json:"address" binding:"required"`
	Types   int     `form:"types" xml:"types" json:"types" binding:"required"`
	Num     int     `form:"num" xml:"num" json:"num" binding:"required"`
	Price   float32 `form:"price" xml:"price" json:"price" binding:"required"`
}

type ClassDetail struct {
	Id int `form:"id" xml:"id" json:"id" binding:"required"`
}

type AddClassOrder struct {
	ClassId int    `form:"class_id" xml:"class_id" json:"class_id" binding:"required"`
	Dates   string `form:"dates" xml:"dates" json:"dates" binding:"required"`
	Times   string `form:"times" xml:"times" json:"times" binding:"required"`
}

type TrueOrder struct {
	Writers string `form:"writers" xml:"writers" json:"writers" binding:"required"`
	Id      int    `form:"id" xml:"id" json:"id" binding:"required"`
}

type StatusOrderList struct {
	Status int `form:"status" xml:"status" json:"status" binding:"required"`
}

type TellSmall struct {
	Id int `form:"id" xml:"id" json:"id" binding:"required"`
}
